
const express = require('express');
const router = express.Router();
// 导入goods 和 users

const goodsRouter = require('C:\\www\\2302\\day33\\路由表\\routers\\goods.js');// 前端js必须写后缀
// 后端js 可以不写
const usersRouter = require('C:\\www\\2302\\day33\\路由表\\routers\\users.js');

console.log(goodsRouter);
router.use('/users',usersRouter);
router.use('/goods',goodsRouter);

module.exports = router;


